home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Tools - Objects / Macintosh Programmer’s Workshop / MPW 3.1 / MPW / Interfaces / CIncludes / Desk.h < prev    next >
Text File  |  1990-12-13  |  1KB  |  63 lines

  1. /************************************************************
  2.  
  3. Created: Thursday, September 7, 1989 at 3:32 PM
  4.     Desk.h
  5.     C Interface to the Macintosh Libraries
  6.  
  7.  
  8.     Copyright Apple Computer, Inc.    1985-1989
  9.     All rights reserved
  10.  
  11. ************************************************************/
  12.  
  13.  
  14. #ifndef __DESK__
  15. #define __DESK__
  16.  
  17. #ifndef __TYPES__
  18. #include <Types.h>
  19. #endif
  20.  
  21. #ifndef __QUICKDRAW__
  22. #include <Quickdraw.h>
  23. #endif
  24.  
  25. #ifndef __EVENTS__
  26. #include <Events.h>
  27. #endif
  28.  
  29. #define accEvent 64
  30. #define accRun 65
  31. #define accCursor 66
  32. #define accMenu 67
  33. #define accUndo 68
  34. #define accCut 70
  35. #define accCopy 71
  36. #define accPaste 72
  37. #define accClear 73
  38. #define goodbye -1    /*goodbye message*/
  39.  
  40. #ifdef __cplusplus
  41. extern "C" {
  42. #endif
  43. pascal short OpenDeskAcc(const Str255 theAcc)
  44.     = 0xA9B6;
  45. pascal void CloseDeskAcc(short refNum)
  46.     = 0xA9B7;
  47. pascal void SystemClick(const EventRecord *theEvent,WindowPtr theWindow)
  48.     = 0xA9B3;
  49. pascal Boolean SystemEdit(short editCmd)
  50.     = 0xA9C2;
  51. pascal void SystemTask(void)
  52.     = 0xA9B4;
  53. pascal Boolean SystemEvent(const EventRecord *theEvent)
  54.     = 0xA9B2;
  55. pascal void SystemMenu(long menuResult)
  56.     = 0xA9B5;
  57. short opendeskacc(char *theAcc);
  58. #ifdef __cplusplus
  59. }
  60. #endif
  61.  
  62. #endif
  63.